Optimal. Leaf size=97 \[ \frac{3}{2 x^2}-\frac{1}{6 x^6}-\frac{1}{2} \sqrt{\frac{1}{10} \left (123-55 \sqrt{5}\right )} \tan ^{-1}\left (\sqrt{\frac{2}{3+\sqrt{5}}} x^2\right )+\frac{1}{2} \sqrt{\frac{1}{10} \left (123+55 \sqrt{5}\right )} \tan ^{-1}\left (\sqrt{\frac{1}{2} \left (3+\sqrt{5}\right )} x^2\right ) \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.134403, antiderivative size = 97, normalized size of antiderivative = 1., number of steps used = 6, number of rules used = 5, integrand size = 16, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.312, Rules used = {1359, 1123, 1281, 1166, 203} \[ \frac{3}{2 x^2}-\frac{1}{6 x^6}-\frac{1}{2} \sqrt{\frac{1}{10} \left (123-55 \sqrt{5}\right )} \tan ^{-1}\left (\sqrt{\frac{2}{3+\sqrt{5}}} x^2\right )+\frac{1}{2} \sqrt{\frac{1}{10} \left (123+55 \sqrt{5}\right )} \tan ^{-1}\left (\sqrt{\frac{1}{2} \left (3+\sqrt{5}\right )} x^2\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 1359
Rule 1123
Rule 1281
Rule 1166
Rule 203
Rubi steps
\begin{align*} \int \frac{1}{x^7 \left (1+3 x^4+x^8\right )} \, dx &=\frac{1}{2} \operatorname{Subst}\left (\int \frac{1}{x^4 \left (1+3 x^2+x^4\right )} \, dx,x,x^2\right )\\ &=-\frac{1}{6 x^6}+\frac{1}{6} \operatorname{Subst}\left (\int \frac{-9-3 x^2}{x^2 \left (1+3 x^2+x^4\right )} \, dx,x,x^2\right )\\ &=-\frac{1}{6 x^6}+\frac{3}{2 x^2}-\frac{1}{6} \operatorname{Subst}\left (\int \frac{-24-9 x^2}{1+3 x^2+x^4} \, dx,x,x^2\right )\\ &=-\frac{1}{6 x^6}+\frac{3}{2 x^2}-\frac{1}{20} \left (-15+7 \sqrt{5}\right ) \operatorname{Subst}\left (\int \frac{1}{\frac{3}{2}+\frac{\sqrt{5}}{2}+x^2} \, dx,x,x^2\right )+\frac{1}{20} \left (15+7 \sqrt{5}\right ) \operatorname{Subst}\left (\int \frac{1}{\frac{3}{2}-\frac{\sqrt{5}}{2}+x^2} \, dx,x,x^2\right )\\ &=-\frac{1}{6 x^6}+\frac{3}{2 x^2}-\frac{1}{2} \sqrt{\frac{1}{10} \left (123-55 \sqrt{5}\right )} \tan ^{-1}\left (\sqrt{\frac{2}{3+\sqrt{5}}} x^2\right )+\frac{1}{20} \sqrt{1230+550 \sqrt{5}} \tan ^{-1}\left (\sqrt{\frac{1}{2} \left (3+\sqrt{5}\right )} x^2\right )\\ \end{align*}
Mathematica [C] time = 0.0194256, size = 73, normalized size = 0.75 \[ \frac{1}{4} \text{RootSum}\left [\text{$\#$1}^8+3 \text{$\#$1}^4+1\& ,\frac{3 \text{$\#$1}^4 \log (x-\text{$\#$1})+8 \log (x-\text{$\#$1})}{2 \text{$\#$1}^6+3 \text{$\#$1}^2}\& \right ]+\frac{3}{2 x^2}-\frac{1}{6 x^6} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] time = 0.016, size = 122, normalized size = 1.3 \begin{align*}{\frac{7\,\sqrt{5}}{-10+10\,\sqrt{5}}\arctan \left ( 4\,{\frac{{x}^{2}}{-2+2\,\sqrt{5}}} \right ) }+3\,{\frac{1}{-2+2\,\sqrt{5}}\arctan \left ( 4\,{\frac{{x}^{2}}{-2+2\,\sqrt{5}}} \right ) }-{\frac{7\,\sqrt{5}}{10+10\,\sqrt{5}}\arctan \left ( 4\,{\frac{{x}^{2}}{2+2\,\sqrt{5}}} \right ) }+3\,{\frac{1}{2+2\,\sqrt{5}}\arctan \left ( 4\,{\frac{{x}^{2}}{2+2\,\sqrt{5}}} \right ) }-{\frac{1}{6\,{x}^{6}}}+{\frac{3}{2\,{x}^{2}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \frac{9 \, x^{4} - 1}{6 \, x^{6}} + \int \frac{{\left (3 \, x^{4} + 8\right )} x}{x^{8} + 3 \, x^{4} + 1}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] time = 1.77081, size = 564, normalized size = 5.81 \begin{align*} \frac{3 \, \sqrt{10} x^{6} \sqrt{-55 \, \sqrt{5} + 123} \arctan \left (\frac{1}{40} \, \sqrt{10} \sqrt{2 \, x^{4} + \sqrt{5} + 3}{\left (7 \, \sqrt{5} \sqrt{2} + 15 \, \sqrt{2}\right )} \sqrt{-55 \, \sqrt{5} + 123} - \frac{1}{20} \, \sqrt{10}{\left (7 \, \sqrt{5} x^{2} + 15 \, x^{2}\right )} \sqrt{-55 \, \sqrt{5} + 123}\right ) - 3 \, \sqrt{10} x^{6} \sqrt{55 \, \sqrt{5} + 123} \arctan \left (\frac{1}{40} \,{\left (\sqrt{10} \sqrt{2 \, x^{4} - \sqrt{5} + 3}{\left (7 \, \sqrt{5} \sqrt{2} - 15 \, \sqrt{2}\right )} - 2 \, \sqrt{10}{\left (7 \, \sqrt{5} x^{2} - 15 \, x^{2}\right )}\right )} \sqrt{55 \, \sqrt{5} + 123}\right ) + 45 \, x^{4} - 5}{30 \, x^{6}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A] time = 0.274987, size = 65, normalized size = 0.67 \begin{align*} 2 \left (\frac{11 \sqrt{5}}{40} + \frac{5}{8}\right ) \operatorname{atan}{\left (\frac{2 x^{2}}{-1 + \sqrt{5}} \right )} - 2 \left (\frac{5}{8} - \frac{11 \sqrt{5}}{40}\right ) \operatorname{atan}{\left (\frac{2 x^{2}}{1 + \sqrt{5}} \right )} + \frac{9 x^{4} - 1}{6 x^{6}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.24186, size = 104, normalized size = 1.07 \begin{align*} \frac{1}{20} \,{\left (3 \, x^{4}{\left (\sqrt{5} - 5\right )} + 8 \, \sqrt{5} - 40\right )} \arctan \left (\frac{2 \, x^{2}}{\sqrt{5} + 1}\right ) + \frac{1}{20} \,{\left (3 \, x^{4}{\left (\sqrt{5} + 5\right )} + 8 \, \sqrt{5} + 40\right )} \arctan \left (\frac{2 \, x^{2}}{\sqrt{5} - 1}\right ) + \frac{9 \, x^{4} - 1}{6 \, x^{6}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]